package com.sk.bilibili.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sk.bilibili.bean.interfaces.BannerAble;
import com.sk.bilibili.other.ExtraMap;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;
import java.util.Date;
/**
* @author 邵康
* @date 2021/11/23 18:45
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Type implements BannerAble {

    private String cover;
    @TableField(exist = false)
    private MultipartFile coverFile;
    private String smallCover;
    @TableField(exist = false)
    private MultipartFile smallCoverFile;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private Boolean themType;
    private String url;
    private String path;
    private Integer priority;
    @TableField(exist = false)
    private ExtraMap extra=new ExtraMap();

}
